/**  
 * @Title: MsgGatewayBodySensor.java
 * @Package com.csun.mqtt.entity
 * @Description: TODO
 * @author chisj chisj@foxmail.com
 * @date 2018年5月31日
 */
package com.csun.cmny.mqtt.entity;

/**
 * ClassName: MsgGatewayBodySensor 
 * @Description: TODO
 * @author chisj chisj@foxmail.com
 * @date 2018年5月31日
 */
public class MsgGatewayBodySensor {

	private String msgType;		// 消息类型
	private String netgateId;	// 网关Id
	private String bodySensorId;	// 按钮Id
	private String eventId;		// 事件Id
	private Integer level;      //报警等级
	/**
	 * @return msgType
	 */
	public String getMsgType() {
		return msgType;
	}
	/**
	 * @param msgType msgType
	 */
	public void setMsgType(String msgType) {
		this.msgType = msgType;
	}
	/**
	 * @return netgateId
	 */
	public String getNetgateId() {
		return netgateId;
	}
	/**
	 * @param netgateId netgateId
	 */
	public void setNetgateId(String netgateId) {
		this.netgateId = netgateId;
	}
	/**
	 * @return bodySensorId
	 */
	public String getBodySensorId() {
		return bodySensorId;
	}
	/**
	 * @param bodySensorId bodySensorId
	 */
	public void setBodySensorId(String bodySensorId) {
		this.bodySensorId = bodySensorId;
	}
	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	public String getEventId() {
		return eventId;
	}

	public void setEventId(String eventId) {
		this.eventId = eventId;
	}
	@Override
	public String toString() {
		return "MsgGatewayBodySensor [msgType=" + msgType + ", netgateId="
				+ netgateId + ", eventId=" + eventId + ", bodySensorId=" + bodySensorId + "]";
	}


	public Integer getLevel() {
		return level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}
}
